<template>
	<view>
		<view class="img text-center mt-100">
			<image src="../../static/icon-success.png" mode=""></image>
		</view>
		<view class="mt-20 text-center size-34 bold">
			购买成功
		</view>
		<view class="plr-36 size-26 gray-2 text-center mt-20">
			温泉票订购成功，可前往订单查看订单详情
		</view>
		<view class="plr-36 size-26 gray-2 text-center mt-5">
			下单后商家会与您电话联系，核实订单信息请保持电话通畅
		</view>
		<view class="fixed-bottom pb-100 plr-36 flex">
			<view class="btn bold yellow radius-10 center" @click="toOrder">
				查看订单
			</view>
			<view class="btn1 bold white bg-yellow radius-10 center" @click="back">
				返回首页
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			back(){
				uni.switchTab({
					url:'/pages/home/index'
				})
			},
			toOrder(){
				uni.switchTab({
					url:'/pages/order/index'
				})
			}
		}
	}
</script>

<style lang="scss">
	.img{
		image{
			width: 90rpx;
			height: 90rpx;
		}
	}
	.btn{
		width: 49%;
		height: 96rpx;
		border: 1rpx solid $yellow;
	}
	.btn1{
		width: 49%;
		height: 96rpx;
	}
</style>
